docs: Copy in API docs and add link
authorDan Nicholson <dbn@endlessos.org>
Thu, 20 May 2021 22:03:56 +0000 (16:03 -0600)
committerDan Nicholson <dbn@endlessos.org>
Fri, 21 May 2021 16:46:49 +0000 (10:46 -0600)
commite19840a25220b399fb213407ec545c8262d1bc39
tree3ccb10d15c8925e0304bb0f77ee500fcabe7a76f
parent19a306ecefa6f1ef84e7e4c03cd533c30d070fbe
docs: Copy in API docs and add link

Make a copy of `apidoc/html` to `docs/reference` and then tell Jekyll to
include it verbatim. This will include the gtk-doc API docs on the
static site. A link is added to the main index.

A script is added to do the copy (a symlink won't do) and is setup to
run before Jekyll in the GitHub workflow. Ideally this would be a local
Jekyll plugin to make the process automatic, but the github-pages gem
doesn't allow that.
.github/workflows/docs.yml
Makefile.am
docs/README.md
docs/_config.yml
docs/index.md
docs/prep-docs.sh [new file with mode: 0755]